try {
	var fileServ = Components.classes["@mozilla.org/file/directory_service;1"]
						 .getService(Components.interfaces.nsIProperties); 
	var fileI = fileServ.get("ProfD", Components.interfaces.nsIFile);

	var MY_ID = "faviconbadge@menjatallarins.com";
	var em = Components.classes["@mozilla.org/extensions/manager;1"].
	         getService(Components.interfaces.nsIExtensionManager);
	var fileO = em.getInstallLocation(MY_ID).getItemFile(MY_ID, "install.rdf").parent;
	fileO.append("initial-badgets");
	
	fileO.copyTo(fileI, "badgets");

}catch(e){
	alert(e);
}
